package lab02.text04;

/**
 * Created by leovo on 2017/10/14.
 */
public class staff {
    //构造函数
    staff(){}
    //属性
   String name;
   String numeber;
   float salary;
   float Addsalary;
//行为
  String name(){
      return name;
  }
  String numeber(){
      return numeber;
  }
  float salary(){
      return salary;
  }
  float Addsalary(){
      return Addsalary;
  }
  float Totalsalary(){
      return (salary    +Addsalary);
  }
}
